package com.lgy.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("test")
public class TestController {
	@RequestMapping("")
	public String test() {
		System.out.println("调用了test");
		return "indesx";
	}
	
	@RequestMapping("jsp")
	public String testJsp() {
		System.out.println("调用了test");
		System.out.println("调用了test");
		System.out.println("调用了test");
		System.out.println("调用了test");
		return "index";
	}
}
